package com.erp.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.erp.dao.PublicDao;
import com.erp.model.Project;
import com.erp.service.ProjectService;
@Service("projectService")
@SuppressWarnings("unchecked")
public class ProjectServiceImpl implements ProjectService
{
	@SuppressWarnings("rawtypes")
	@Autowired
	private PublicDao dao;
	
	
	@Override
	public List<Project> findProjectListCombobox()
	{
		String hql="from Project t where t.status='A'";
		return dao.find(hql);
	}

}
